package com.meilai.project.service.business.sale.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meilai.project.entity.business.sale.BillSaleGroupRelation;
import com.meilai.project.mapper.business.sale.BillSaleGroupRelationMapper;
import com.meilai.project.service.business.sale.BillSaleGroupRelationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 销售单分组关系表 服务实现类
 * </p>
 *
 * @author xhy
 * @since 2022-12-05
 */
@Service
public class BillSaleGroupRelationServiceImpl extends ServiceImpl<BillSaleGroupRelationMapper, BillSaleGroupRelation> implements BillSaleGroupRelationService {

    @Override
    public List<Long> getBillSaleIdsByBillSaleIds(List<Long> bill_sale_ids) {
        return baseMapper.getBillSaleIdsByBillSaleIds(bill_sale_ids);
    }

    @Override
    public List<Long> getBillSaleIdsByBillSaleId(Long bill_sale_id) {
        return baseMapper.getBillSaleIdsByBillSaleId(bill_sale_id);
    }
}
